package com.corpgovernment.organization.entity.db;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 人员配置表
 * @author xiaoxiaoguo
 */
@Data
@Table(name = "mb_user_config")
public class MbUserConfig extends BaseEntity {

    @Column(name = "user_id")
    @OperateLogFieldDesc(value = "员工工号")
    private String userId;

    @Column(name = "agent_message_config")
    @OperateLogFieldDesc(value = "委托代理消息配置 2-同时接收 1-不被打扰")
    private Integer agentMessageConfig;

    /**
     * 删除状态 0：未删除 1：删除
     **/
    @Column(name = "is_deleted")
    @OperateLogFieldDesc(value = "删除状态 0：未删除 1：删除")
    private Boolean isDeleted;

}
